package com.egghiro.j2se.game.sace.state.actorstate;

import com.egghiro.framework.j2se.util.SLinkedList;

public class StateManager<E> {
    private SLinkedList<E> list = new SLinkedList<E>();

    public void add(E state) {
        list.add(state);
    }

    public E pop() {
        return list.pop();
    }

    public E peek() {
        return list.peek();
    }
}
